package com.chuanye.cluster.models;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.format.annotation.DateTimeFormat;


import java.math.BigDecimal;
import java.util.Date;

public class YY_DATA_AUTO_Request {

    private String STCD;

    private String ItemID;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8",
            shape = JsonFormat.Shape.STRING,
            locale ="zh"

    )
    private Date TM;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8",
            shape = JsonFormat.Shape.STRING,
            locale ="zh"
    )
    private Date DOWNDATE;

    @JsonProperty("STCD")
    public String getSTCD() {
        return STCD;
    }

    public void setSTCD(String STCD) {
        this.STCD = STCD;
    }

    @JsonProperty("ItemID")
    public String getItemID() {
        return ItemID;
    }

    public void setItemID(String itemID) {
        ItemID = itemID;
    }


    @JsonProperty("TM")
    public Date getTM() {
        return TM;
    }

    public void setTM(Date TM) {
        this.TM = TM;
    }

    @JsonProperty("DOWNDATE")
    public Date getDOWNDATE() {
        return DOWNDATE;
    }

    public void setDOWNDATE(Date DOWNDATE) {
        this.DOWNDATE = DOWNDATE;
    }

    @JsonProperty("NFOINDEX")
    public int getNFOINDEX() {
        return NFOINDEX;
    }

    public void setNFOINDEX(int NFOINDEX) {
        this.NFOINDEX = NFOINDEX;
    }

    @JsonProperty("DATAVALUE")
    public BigDecimal getDATAVALUE() {
        return DATAVALUE;
    }

    public void setDATAVALUE(BigDecimal DATAVALUE) {
        this.DATAVALUE = DATAVALUE;
    }

    @JsonProperty("CorrectionVALUE")
    public BigDecimal getCorrectionVALUE() {
        return CorrectionVALUE;
    }

    public void setCorrectionVALUE(BigDecimal correctionVALUE) {
        CorrectionVALUE = correctionVALUE;
    }

    @JsonProperty("DATATYPE")
    public int getDATATYPE() {
        return DATATYPE;
    }

    public void setDATATYPE(int DATATYPE) {
        this.DATATYPE = DATATYPE;
    }

    @JsonProperty("STTYPE")
    public String getSTTYPE() {
        return STTYPE;
    }

    public void setSTTYPE(String STTYPE) {
        this.STTYPE = STTYPE;
    }


    private int NFOINDEX;

    private BigDecimal DATAVALUE;

    private BigDecimal CorrectionVALUE;

    private  int  DATATYPE;

    private  String STTYPE;
}
